package com.salesmanager.core.constants;

import java.math.BigDecimal;
import java.util.Currency;
import java.util.Locale;

public class Constants {
	public  static BigDecimal ONE_OUT_PRICE=BigDecimal.valueOf(0.5);
	public final static String TEST_ENVIRONMENT= "TEST";
	public final static String PRODUCTION_ENVIRONMENT= "PRODUCTION";
	public final static String SHOP_URI = "/shop";
	
	public static final String ALL_REGIONS = "*";
	
	
	public final static String DEFAULT_DATE_FORMAT = "yyyy-MM-dd";
	public final static String DEFAULT_DATE_FORMAT_YEAR = "yyyy";
    public final static String DEFAULT_DATE_FORMAT_MINUTE = "yyyy-MM-dd HH:mm";
    public final static String DEFAULT_STRING_FORMAT = "yyyy-MM-dd HH:mm:ss";


    public final static String EMAIL_CONFIG = "EMAIL_CONFIG";
	public final static String MERCHANT_CONFIG = "MERCHANT_CONFIG";
	
	public final static String UNDERSCORE = "_";
	public final static String SLASH = "/";
	public final static String TRUE = "true";
	public final static String FALSE = "false";
	public final static String OT_ITEM_PRICE_MODULE_CODE = "itemprice";
	public final static String OT_SUBTOTAL_MODULE_CODE = "subtotal";
	public final static String OT_TOTAL_MODULE_CODE = "total";
	public final static String OT_SHIPPING_MODULE_CODE = "shipping";
	public final static String OT_HANDLING_MODULE_CODE = "handling";
	public final static String OT_TAX_MODULE_CODE = "tax";
	public final static String OT_REFUND_MODULE_CODE = "refund";
	
	public final static Locale DEFAULT_LOCALE = Locale.CHINA;
	public final static Currency DEFAULT_CURRENCY = Currency.getInstance(Locale.SIMPLIFIED_CHINESE);

    public static final String CMS_SERVER           = "CMS_SERVER";
    public static final String CMS_SERVER_LOCAL     = "local";
    public static final String CMS_SERVER_OSS       = "oss";

    public static final String ALIYUN_ACCESS_ID     = "ALIYUN_ACCESS_ID";
    public static final String ALIYUN_ACCESS_KEY    = "ALIYUN_ACCESS_KEY";
    public static final String ALIYUN_ENDPOINT      = "ALIYUN_ENDPOINT";
    public static final String ALIYUN_BUCKET_NAME   = "ALIYUN_BUCKET_NAME";
    public static final String ALIYUN_OSS_IMG_DOMAIN = "ALIYUN_OSS_IMG_DOMAIN";


    public static final String ALIPAY_APP_ID        = "ALIPAY_APP_ID";
    public static final String ALIPAY_PRIVATE_KEY   = "ALIPAY_PRIVATE_KEY";
    public static final String ALIPAY_PUBLIC_KEY    = "ALIPAY_PUBLIC_KEY";


    public static final String APIS_DEBUG = "APIS_DEBUG";
}
